DigitalRiver\ApiSdk\Model\Invoice D

Total Complexity 127
Dependencies 11
Dependents 3
Total lines 1,325
Lines of code 359
Logical lines of code 166
Comment lines 548
Methods 86
Properties 7

Methods 86

Method Rating Maintainability Complexity Lines of code
__construct()
D
43 36 37
setState()
S
60 3 13
listInvalidProperties()
S
62 3 11
offsetSet()
S
69 2 7
offsetGet()
S
78 2 3
getStateAllowableValues()
S
64 1 11
openAPITypes()
S
80 1 3
setItems()
S
76 1 4
getAttemptCount()
S
80 1 3
setStateTransitions()
S
76 1 4
getStateTransitions()
S
80 1 3
getState()
S
80 1 3
setShipTo()
S
76 1 4
getShipTo()
S
80 1 3
getCollectionPeriodDays()
S
80 1 3
getItems()
S
80 1 3
setCollectionPeriodDays()
S
76 1 4
getCharges()
S
80 1 3
setTotalAmount()
S
76 1 4
getTotalAmount()
S
80 1 3
setTotalShipping()
S
76 1 4
getTotalShipping()
S
80 1 3
setTotalDiscount()
S
76 1 4
setAttemptCount()
S
76 1 4
setMetadata()
S
76 1 4
setCharges()
S
76 1 4
setLiveMode()
S
76 1 4
__toString()
S
72 1 6
offsetUnset()
S
80 1 3
offsetExists()
S
79 1 3
setUpstreamId()
S
76 1 4
getUpstreamId()
S
80 1 3
setOrderId()
S
76 1 4
getOrderId()
S
80 1 3
getLiveMode()
S
80 1 3
getMetadata()
S
80 1 3
setApplicationId()
S
76 1 4
getApplicationId()
S
80 1 3
setChargeType()
S
76 1 4
getChargeType()
S
80 1 3
setPaymentSessionId()
S
76 1 4
getPaymentSessionId()
S
80 1 3
setImporterOfRecordTax()
S
76 1 4
getTotalDiscount()
S
80 1 3
setTotalImporterTax()
S
76 1 4
getImporterOfRecordTax()
S
80 1 3
getUpdatedTime()
S
80 1 3
setSourceId()
S
76 1 4
getSourceId()
S
80 1 3
setEmail()
S
76 1 4
getEmail()
S
80 1 3
setCustomerId()
S
76 1 4
getCustomerId()
S
80 1 3
setUpdatedTime()
S
76 1 4
setCreatedTime()
S
76 1 4
setCurrency()
S
76 1 4
getCreatedTime()
S
80 1 3
setId()
S
76 1 4
getId()
S
80 1 3
valid()
S
79 1 3
getModelName()
S
81 1 3
getters()
S
80 1 3
setters()
S
80 1 3
attributeMap()
S
80 1 3
getCurrency()
S
80 1 3
getDescription()
S
80 1 3
openAPIFormats()
S
80 1 3
setSubtotal()
S
76 1 4
getTotalImporterTax()
S
80 1 3
setTotalDuty()
S
76 1 4
getTotalDuty()
S
80 1 3
setTotalFees()
S
76 1 4
getTotalFees()
S
80 1 3
setTotalTax()
S
76 1 4
getTotalTax()
S
80 1 3
getSubtotal()
S
80 1 3
setDescription()
S
76 1 4
setSellingEntity()
S
76 1 4
getSellingEntity()
S
80 1 3
setCustomerType()
S
76 1 4
getCustomerType()
S
80 1 3
setDiscount()
S
76 1 4
getDiscount()
S
80 1 3
setLocale()
S
76 1 4
getLocale()
S
80 1 3
toHeaderValue()
S
80 1 3